package com.ywz.project.base.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 标签表
 * </p>
 *
 * @author ywz
 * @since 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TLabel对象", description="标签表")
public class TLabel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "标签名")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "标签标识")
    @TableField("TAG")
    private String tag;

    @ApiModelProperty(value = "标签分类")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty(value = "父级标签ID")
    @TableField("PID")
    private Integer pid;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATED_TIME")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATED_TIME")
    private LocalDateTime updatedTime;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DELETED")
    private Integer isDeleted;


}
